package cn.szabadsag.hrm.dto;

import cn.szabadsag.hrm.domain.Employee;
import cn.szabadsag.hrm.domain.Tenant;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 接受企业入驻参数
 */
@Data
public class TenantEnteringDto {

    @NotNull(message = "管理员信息不能为null")
    private Employee employee;

    @NotNull(message = "租户信息不能为null")
    private Tenant tenant;

    @NotNull(message = "套餐不能为null")
    private Long mealId;
}
